# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Giorgio Lando <patroclo7@gmail.com>

pkgname=mb2md
pkgver=3.20
pkgrel=6
pkgdesc="A perl script that takes one or more mbox mailboxes and convert them in maildir mailboxes"
url="http://batleth.sapienti-sat.org/projects/mb2md/"
depends=(perl-timedate)
license=('GPL2')
arch=('any')
source=(http://batleth.sapienti-sat.org/projects/$pkgname/$pkgname-$pkgver.pl.gz)
sha512sums=('4c795ecd3c5eeab9902e8393622e5d7ab070a844af1b386e975a022f83f37b4abdad1285f7cbc97c489c0931ef2605d85145eb6c1a4b993889f35d50c670503d')

package() {
  install -D -m755 "$srcdir"/$pkgname-$pkgver.pl "$pkgdir"/usr/bin/mb2md.pl
}
